package vip.liux.contracts.repositories.point;

import org.springframework.data.repository.ListCrudRepository;
import org.springframework.data.repository.ListPagingAndSortingRepository;
import vip.liux.contracts.models.point.PointsDetail;

import java.util.List;

public interface IPointsDetailRepository extends ListPagingAndSortingRepository<PointsDetail, Long>, ListCrudRepository<PointsDetail, Long> {
    List<PointsDetail> findByUserId(Long userId);
}